package com.aidex.biz.domain;

import com.aidex.common.annotation.Excel;
import com.aidex.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
 * 京东订单推送对象 biz_jdky_order
 * @author sean
 * @email 2074844820@qq.com
 * @date 2023-10-10
 */
@Data
public class JdkyOrder extends BaseEntity<JdkyOrder>
{
    private static final long serialVersionUID = 1L;



    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 京东物流运单号 */
    @Excel(name = "京东物流运单号")
    private String orderCode;

    /** 京东物流运单号 */
    private String waybillCode;

    /** 排序 */
    private Long sort;

    /** 状态（0正常 1 停用） */
    private String status;

    /**
     * 0 用户单 1 平台单
     */
    private String type;
    private String senderName;
    private String senderPhone;
    private String senderAddress;



    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }

    public void setOrderCode(String orderCode) 
    {
        this.orderCode = orderCode;
    }

    public String getOrderCode() 
    {
        return orderCode;
    }

    public void setWaybillCode(String waybillCode) 
    {
        this.waybillCode = waybillCode;
    }

    public String getWaybillCode() 
    {
        return waybillCode;
    }

    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("userName", getUserName())
            .append("deptName", getDeptName())
            .append("companyId", getCompanyId())
            .append("orderId", getOrderId())
            .append("orderCode", getOrderCode())
            .append("waybillCode", getWaybillCode())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createDept", getCreateDept())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("updateIp", getUpdateIp())
            .append("version", getVersion())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
